package com.jingjing.edu;

import org.springframework.context.annotation.Bean;

/**
 * @author jinghao
 */
public class JingBean {
	private int id;
	private String name;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public JingBean(){
		System.out.println("JingBean 构造器...");
	}
	public void print() {
		System.out.println("print方法业务逻辑执行");
	}
	@Override
	public String toString() {
		return "JingBean{" +
				"id=" + id +
				", name='" + name + '\'' +
				'}';
	}
}
